Method: Mgmg::TPolynomial#>=

Defined in:
lib/mgmg/poly.rb

#>=(other) ⇒ Object



256
257
258
259
260
261
262
263
264
265
266
267
268
269
# File 'lib/mgmg/poly.rb', line 256

def >=(other)
	foo = other-self
	(foo.mat.row_size-1).downto(0) do |s|
		(foo.mat.col_size-1).downto(0) do |c|
			bar = foo.mat.body[s][c]
			if bar < 0
				return true
			elsif 0 < bar
				return false
			end
		end
	end
	true
end